import request from '@/utils/request'

// 标签列表-分页
export const getTagListApi = data => {
  return request.get('/ydd_tag/list', {
    params: data
  })
}

// 标签添加
export const addTagApi = data => {
  return request.post('/ydd_tag/add', data)
}

// 标签详情
export const getTagInfoApi = id => {
  return request.get('/ydd_tag/rowInfo?id=' + id)
}

// 标签修改
export const editTagApi = data => {
  return request.post('/ydd_tag/update', data)
}

// 标签删除
export const delTagApi = id => {
  return request.get('/ydd_tag/del?id=' + id)
}
